.responsive-three-col-section {
  background-color: #fff;
  padding: 4rem 1rem;
  direction: rtl;
  text-align: right;
}
.responsive-three-col-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.responsive-three-col-item {
  display: flex;
  flex-direction: column;
}

/* Image Column */
.responsive-three-col-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.responsive-three-col-image img:hover {
  transform: scale(1.02);
}
/* Icons Column */
.responsive-three-col-icons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.responsive-three-col-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.responsive-three-col-icon-box:hover {
  background: #e9ecef;
  transform: translateY(-5px);
}
.responsive-three-col-icon-wrapper {
  margin-bottom: 0.75rem;
}
.responsive-three-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #b81806;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
}
.responsive-three-col-icon i {
  font-size: 1.5rem;
}
.responsive-three-col-icon-content {
  flex: 1;
}
.responsive-three-col-icon-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.4;
}
/* Text Column */
.responsive-three-col-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.responsive-three-col-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.responsive-three-col-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.3;
}
.responsive-three-col-description p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  text-align: right; /* RTL */
  margin: 0;
  white-space: normal;
  word-break: break-word;
}
.responsive-three-col-button-wrap {
  margin-top: 1rem;
}
.responsive-three-col-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #b81806; /* WhatsApp green */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}
.responsive-three-col-btn:hover {
  background-color: #116c8d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.title-overlay-section {
  background-image: url("../../images/aboutpage/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
  direction: rtl;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
}
.title-overlay-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 142, 195, 0.621);
  z-index: 1;
}

.title-overlay-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.title-overlay-title {
  font-size: 2.6rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.title-overlay-description {
  max-width: 100%;
}
.title-overlay-description p {
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
  margin: 0;
}
.title-overlay-description a {
  color: #007cba;
  text-decoration: none;
}
.title-overlay-description a:hover {
  text-decoration: underline;
}
.title-overlay-button-wrap {
  display: flex;
  justify-content: center;
}
.title-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #b81806;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(184, 24, 6, 0.2);
}
.title-overlay-btn:hover {
  background-color: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 90, 135, 0.3);
}
.counters-section {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
.counters-container {
  max-width: 1200px;
  margin: 0 auto;
}
.counters-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Four equal columns */
  gap: 2rem;
  align-items: center;
}
.counter-col {
  padding: 1rem;
}
.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background-color: aliceblue;
  box-shadow: 20px 20px 13px rgba(5, 5, 6, 0.1);
}
.counter-title {
  font-size: 1rem;
  color: #2432b1;
  font-weight: 500;
  font-weight: bolder;
  margin: 0;
  line-height: 1.4;
}
.counter-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 3.4rem;
  font-weight: bold;
  color: #b81806;
}
.counter-number {
  transition: all 2s ease; /* Matches duration */
}
.counter-number-prefix,
.counter-number-suffix {
  font-size: 1.5rem;
  color: #fff;
}

.testimonial-carousel-section {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
  direction: rtl;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}
.testimonial-headings-section {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 2rem;
}
.elementor-testimonial-section {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
  direction: rtl;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.elementor-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}
.elementor-inner-section {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 2rem;
}
.elementor-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.elementor-heading-title {
  margin: 0;
  line-height: 1.3;
}
.elementor-testimonial-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.elementor-testimonial-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}
.elementor-testimonial-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}
.elementor-testimonial-wrapper {
  width: 100%;
}
.elementor-testimonial-slides {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 0 1rem;
  box-sizing: border-box;
}
.elementor-testimonial-slide {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 300px;
  max-width: 400px;
}
.elementor-testimonial {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}
.elementor-testimonial__content {
  flex: 1;
}
.elementor-testimonial__text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 1rem 0;
  white-space: normal;
  word-break: break-word;
}
.elementor-testimonial__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: auto;
}
.elementor-testimonial__image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007cba;
}
.elementor-testimonial__cite {
  font-style: normal;
  margin: 0;
}
.elementor-testimonial__name {
  font-weight: bold;
  color: #333;
  display: block;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .responsive-three-col-container {
    gap: 1.5rem;
  }

  .responsive-three-col-title {
    font-size: 1.8rem;
  }

  .responsive-three-col-description p {
    font-size: 1rem;
  }

  .responsive-three-col-icon-title {
    font-size: 1rem;
    margin-top: 10px;
  }
  .responsive-three-col-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .responsive-three-col-icon i {
    font-size: 1.25rem;
  }

  .responsive-three-col-icon-box {
    padding: 1.25rem;
  }

  .title-overlay-title {
    font-size: 2.2rem;
  }

  .title-overlay-description p {
    font-size: 1rem;
  }

  .counters-inner {
    gap: 1.5rem;
  }

  .counter-number-wrapper {
    font-size: 2rem;
  }

  .elementor-testimonial-section {
    padding: 3rem 1rem;
  }

  .elementor-testimonial-title {
    font-size: 2.2rem;
  }

  .elementor-testimonial-subtitle {
    font-size: 1.5rem;
    color: #b81806;
  }

  .elementor-testimonial-slides {
    gap: 10px;
    padding: 0 0.5rem;
  }
  .elementor-testimonial-slide {
    flex: 0 0 calc(50% - 5px);
    min-width: 280px;
    max-width: 350px;
  }

  .elementor-testimonial__text {
    font-size: 2rem;
    color: #000;
  }

  .elementor-testimonial__image img {
    width: 50px;
    height: 50px;
  }
  .elementor-testimonial__name {
    font-size: 0.95rem;
  }

  .elementor-testimonial {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .responsive-three-col-section {
    padding: 3rem 1rem;
  }

  .responsive-three-col-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .responsive-three-col-text {
    order: 1;
  }

  .responsive-three-col-icons {
    order: 2;
    gap: 1.5rem;
  }

  .responsive-three-col-image {
    order: 3;
  }
  .responsive-three-col-subtitle {
    font-size: 1.3rem;
    color: #b81806;
  }

  .responsive-three-col-title {
    font-size: 1.6rem;
  }

  .responsive-three-col-description p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .responsive-three-col-icon-box {
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  }
  .responsive-three-col-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .responsive-three-col-icon-title {
    font-size: 0.95rem;
    text-align: right;
    margin-top: 10px;
  }

  .responsive-three-col-btn {
    width: 100%;
    max-width: 250px;
    padding: 0.8rem 1.2rem;
  }

  .responsive-three-col-image img {
    border-radius: 4px;
  }

  .title-overlay-section {
    padding: 3rem 1rem;
    min-height: 35vh;
  }

  .title-overlay-container {
    gap: 1rem;
  }

  .title-overlay-title {
    font-size: 1.8rem;
  }

  .title-overlay-description p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  .title-overlay-btn {
    width: 100%;
    max-width: 250px;
    padding: 0.8rem 1.2rem;
  }

  .counters-section {
    padding: 3rem 1rem;
  }

  .counters-inner {
    grid-template-columns: repeat(2, 1fr); /* Two columns on tablet/mobile */
    gap: 1rem;
  }

  .counter-title {
    font-size: 0.95rem;
  }
  .counter-number-wrapper {
    font-size: 1.8rem;
  }
  .elementor-testimonial-section {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .elementor-inner-container {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .elementor-testimonial-title {
    font-size: 1.8rem;
  }

  .elementor-testimonial-subtitle {
    font-size: 1.5rem;
  }

  .elementor-testimonial-slides {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 0;
  }

  .elementor-testimonial-slide {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  .elementor-testimonial__text {
    font-size: 1.4rem;
    padding: 0 0.5rem;
    overflow-wrap: break-word;
  }

  .elementor-testimonial {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .elementor-testimonial__image img {
    width: 50px;
    height: 50px;
  }
  .elementor-testimonial__name {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .responsive-three-col-section {
    padding: 2rem 0.5rem;
  }

  .responsive-three-col-container {
    gap: 1.5rem;
    text-align: center;
  }

  .responsive-three-col-subtitle {
    font-size: 1.2rem;
  }

  .responsive-three-col-title {
    font-size: 1.3rem;
  }
  .responsive-three-col-description p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .responsive-three-col-icon-box {
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  }

  .responsive-three-col-icon-wrapper {
    width: 45px;
    height: 45px;
  }
  .responsive-three-col-icon i {
    font-size: 1.1rem;
  }

  .responsive-three-col-icon-title {
    font-size: 1.2rem;
    margin-top: 3rem;
    font-weight: bold;
  }

  .responsive-three-col-btn {
    font-size: 1.3rem;
    padding: 0.7rem 1rem;
  }
  .title-overlay-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
  .counters-section {
    padding: 2rem 0.5rem;
  }

  .counters-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .counter-title {
    font-size: 0.9rem;
  }

  .three-column-image {
    width: 100%;
    height: auto;
    min-height: 600px;
    object-fit: cover; /* Back to cover on very small screens if needed, but contain works better */
  }

  .counter-number-wrapper {
    font-size: 1.5rem;
  }
  .elementor-testimonial-section {
    padding: 2rem 0.5rem;
  }

  .elementor-testimonial-title {
    font-size: 1.3rem;
    color: #b81806;
  }

  .elementor-testimonial__text {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: bold;
  }

  .elementor-testimonial {
    padding: 1rem;
  }

  .elementor-testimonial__image img {
    width: 50px;
    height: 50px;
  }
  .elementor-testimonial__name {
    font-size: 1rem;
    font-weight: bolder;
  }

  .elementor-testimonial-slides {
    gap: 1rem;
  }
}
